Platform Explorer / Nuxeo Platform 2021.7

Extension point topLevelFolderItemFactory

Documentation

This extension point lets you contribute the factory for the top level FolderItem.

Example of the DefaultTopLevelFolderItemFactory:

    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <topLevelFolderItemFactory class="org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory"/>
    </extension>

Contribution Descriptors

  • Class: org.nuxeo.drive.service.impl.TopLevelFolderItemFactoryDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-drive-core-2021.7.15.jar /OSGI-INF/nuxeodrive-adapter-contrib.xml
    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
    
        <topLevelFolderItemFactory class="org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory">
          <parameters>
            <parameter name="folderName">Nuxeo Drive</parameter>
          </parameters>
        </topLevelFolderItemFactory>
    
      </extension>
  • nuxeo-drive-core-2021.7.15.jar /OSGI-INF/nuxeodrive-hierarchy-userworkspace-adapter-contrib.xml
    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <topLevelFolderItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceTopLevelFactory">
          <parameters>
            <parameter name="folderName">Nuxeo Drive</parameter>
            <parameter name="syncRootParentFactory">userWorkspaceSyncRootParentFactory
            </parameter>
          </parameters>
        </topLevelFolderItemFactory>
      </extension>
  • nuxeo-drive-core-2021.7.15.jar /OSGI-INF/nuxeodrive-hierarchy-permission-adapter-contrib.xml
    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <topLevelFolderItemFactory class="org.nuxeo.drive.hierarchy.permission.factory.PermissionTopLevelFactory">
          <parameters>
            <parameter name="folderName">Nuxeo Drive</parameter>
            <parameter name="childrenFactories">userSyncRootParentFactory,sharedSyncRootParentFactory
            </parameter>
          </parameters>
        </topLevelFolderItemFactory>
      </extension>